# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CcConf(object):

    def __init__(self, enable=None, ccMode=None, enableUserDefine=None, rulesCount=None, action=None):
        """
        :param enable: (Optional) 是否使能 0表示否
        :param ccMode: (Optional) 防护模式
        :param enableUserDefine: (Optional) 是否支持自定义cc，0表示否
        :param rulesCount: (Optional) cc自定义规则个数
        :param action: (Optional) 动作配置，默认为告警，支持1，2，3和5四种类型动作
        """

        self.enable = enable
        self.ccMode = ccMode
        self.enableUserDefine = enableUserDefine
        self.rulesCount = rulesCount
        self.action = action
